package com.xy.repository;

import com.xy.domain.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author ye
* @description 针对表【t_department】的数据库操作Mapper
* @createDate 2022-01-23 18:22:42
* @Entity com.xy.Department
*/
@Mapper
public interface DepartmentMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    List<Department> listDepartements();
}
